package com.blog.feign.fallback;

import com.blog.common.RespBean;
import com.blog.feign.SecAccountFeignClient;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

import java.math.BigDecimal;

/**
 * @ClassName SecAccountFeignClientFallBack
 * @Destription 远程调用账户服务的兜底回调
 * @Author 天堂小野花
 * @Date 2025/8/23  21:16
 * @Version 1.0
 */
@Slf4j
@Component
public class SecAccountFeignClientFallBack implements SecAccountFeignClient {
    @Override
    public int hrAccountAdjustByHrId(BigDecimal price, Integer hrid) {
        log.info("----------------账户金额减少兜底回调----------------");
        return 0;
    }
}
